﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
    public class ProjectComponent
    {
        private static ProjectDAC db = new ProjectDAC();

        public static List<Project> Projects_GetByTop(string Top, string Where, string Ord)
        {
            return db.Projects_GetByTop(Top, Where, Ord);
        }

        public static void Projects_Insert(Project project)
        {
            db.Projects_Insert(project);
        }

        public static void Projects_Update(Project project)
        {
            db.Projects_Update(project);
        }
    }
}
